export default [
  {
    url: "/mock/login",
    method: "post",
    response: () => {
      return {
        code: 200,
        success: true,
        message: null,
        result:
          "eyJhbGciOiJIUzUxMiJ9.eyJ1c2VySWQiOiIxNTc1MDE5NzAwODAwMTI2OTc4IiwiYWNjb3VudCI6IjE3Nzk5OTk5OTk5IiwidXVpZCI6Ijc0YWYzZDkxLWVjMjAtNGVlYy1hMmNmLTBhZmQ4ZTk4OGIzYyIsInN1YiI6IjE1NzUwMTk3MDA4MDAxMjY5NzgiLCJpYXQiOjE2NjY4NzYyNTUsImV4cCI6MTY2Njk2MjY1NX0.TfVKVyr8vHU-Qqe1dqVi9Rogvdv7REPYwL0V8VcLeZQ_ljqyvNaGvIlBQSqSpBkFo8OdSDX_y3DdrA4EojEQ5w",
      };
    },
  },
  {
    url: "/mock/getLoginUser",
    method: "get",
    response: () => {
      return {
        code: 200,
        success: true,
        message: null,
        result: {
          account: "17799999999",
          accountNonExpired: true,
          accountNonLocked: true,
          adminType: 1,
          authorities: [
            {
              authority: "船长",
            },
          ],
          avatar: null,
          birthday: null,
          companyName: "928整体测试001",
          credentialsNonExpired: true,
          currentRole: "captain",
          departId: "deck",
          email: null,
          enabled: true,
          id: "1575019700800126978",
          lastLoginAddress: null,
          lastLoginBrowser: null,
          lastLoginIp: null,
          lastLoginOs: null,
          lastLoginTime: null,
          name: "船长1",
          nickName: null,
          password: null,
          phone: null,
          roleId: "captain",
          roleName: "船长",
          roles: [{ code: "captain", name: "船长" }],
          sex: 1,
          shipId: null,
          shipName: "七八九船舶001",
          tel: null,
          username: "17799999999",
        },
      };
    },
  },
];
